﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using System.Threading;

namespace MINERP.InfoConfig
{
    public partial class FrmProsessBar : Form
    {
        int currentPosition = 0;
        public FrmProsessBar()
        {
            InitializeComponent();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
  
            progressBarControl1.Position = currentPosition;
            if (currentPosition == progressBarControl1.Properties.Maximum)
            {
                currentPosition = progressBarControl1.Properties.Minimum;
                progressBarControl1.Position = currentPosition;
            }
            currentPosition++;
        }
    }
}
